// 历史车牌
export const getHistoryCart = `
query($driver_id:Int){
  getHistoryCart(driver_id:$driver_id){
    cart_code
  }
}
`;
// 获取预约时间
export const getSubscribeTime = `
query{
  getSubscribeTime{
    day
    times{
        date
        time
    }
  }
}
`;
// 时间段预约
export const jisuanScore = `
query($time:Int){
  jisuanScore(time:$time){
    text
  }
}
`;
// 历史地址
export const getHistoryAddress = `
query($driver_id:Int){
  getHistoryAddress(driver_id:$driver_id){
    address
    longitude
    latitude
  }
}
`;
// 获取预约详情
export const getSubscribeInfo = `
query($driver_id:Int,$subscribe_id:Int){
  getSubscribeInfo(driver_id:$driver_id,subscribe_id:$subscribe_id){
    order_sn
    cart_code
    driver_mobile
    delivery_type
    starttime
    endtime
    driver_name
    deliverytime
    score
    staff_name
    staff_mobile
    status
    status_text
    msg
    address
    longitude
    latitude
  }
}
`;